package com.accp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
<<<<<<< HEAD
 * @author 曹畅
 * @since 2019-11-20
=======
 * @author wyk
 * @since 2019-11-15
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PsUser extends Model<PsUser> {

    private static final long serialVersionUID=1L;

<<<<<<< HEAD
    @TableId(value = "id", type = IdType.AUTO)
=======
    @TableId(value = "ID", type = IdType.AUTO)
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c
    private Integer id;

    @TableField("userName")
    private String userName;

    private Integer sex;

    private Integer age;

<<<<<<< HEAD
    @TableField("entryDate")
    private LocalDateTime entryDate;

    @TableField("dimissionDate")
    private LocalDateTime dimissionDate;
=======
    /**
     * 入职日期
     */
    @TableField("ENTRYDATE")
    private LocalDate entrydate;

    /**
     * 离职日期
     */
    @TableField("DIMISSIONDATE")
    private LocalDate dimissiondate;
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c

    @TableField("phoneTel")
    private String phoneTel;

    private String email;

<<<<<<< HEAD
    @TableField("creationTime")
    private LocalDateTime creationTime;

    @TableField("lastLoginTime")
    private LocalDateTime lastLoginTime;

    @TableField("createdBy")
    private String createdBy;

    @TableField("lastUpdateTime")
    private LocalDateTime lastUpdateTime;
=======
    /**
     * 注册时间
     */
    @TableField("CREATIONTIME")
    private LocalDateTime creationtime;

    /**
     * 最后登录时间
     */
    @TableField("LASTLOGINTIME")
    private LocalDateTime lastlogintime;
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c

    @TableField("nickName")
    private String nickName;

    @TableField("avatarUrl")
    private String avatarUrl;

<<<<<<< HEAD
    @TableField("roleId")
    private Integer roleId;

    private String openid;
=======
    /**
     * 使用状态1为正常0为冻结
     */
    @TableField("USERSTATUS")
    private Integer userstatus;

    /**
     * 所属角色
     */
    @TableField("ROLEID")
    private Integer roleid;

    @TableField("USERACCOUNT")
    private String useraccount;

    private String openId;
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c

    @TableField("userStatus")
    private Integer userStatus;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
